package com.bootdo.fx.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.fx.dao.GoodsUserCommentDao;
import com.bootdo.fx.domain.GoodsUserCommentDO;
import com.bootdo.fx.service.GoodsUserCommentService;



@Service
public class GoodsUserCommentServiceImpl implements GoodsUserCommentService {
	@Autowired
	private GoodsUserCommentDao goodsUserCommentDao;
	
	@Override
	public GoodsUserCommentDO get(Long commenId){
		return goodsUserCommentDao.get(commenId);
	}
	
	@Override
	public List<GoodsUserCommentDO> list(Map<String, Object> map){
		return goodsUserCommentDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return goodsUserCommentDao.count(map);
	}
	
	@Override
	public int save(GoodsUserCommentDO goodsUserComment){
		return goodsUserCommentDao.save(goodsUserComment);
	}
	
	@Override
	public int update(GoodsUserCommentDO goodsUserComment){
		return goodsUserCommentDao.update(goodsUserComment);
	}
	
	@Override
	public int remove(Long commenId){
		return goodsUserCommentDao.remove(commenId);
	}
	
	@Override
	public int batchRemove(Long[] commenIds){
		return goodsUserCommentDao.batchRemove(commenIds);
	}
	
}
